<div class="auto-height-box">
<div class="ibox-content">
    <form class="form-horizontal" method="post" action="{:url('SysMsgType/add')}">
        <div class="form-group">
            <label class="col-sm-2 control-label">提醒类型</label>
            <div class="col-sm-8">
                <input name="name" class="form-control" type="text" placeholder="提醒类型" value=""/>
                <span class="help-block m-b-none"></span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">事件说明</label>
            <div class="col-sm-8">
                <textarea name="remark" class="form-control" cols="80" rows="2"></textarea>
                <span class="help-block m-b-none"></span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">业务标识</label>
            <div class="col-sm-8">
                <input name="type" class="form-control" type="text" placeholder="业务标识" value=""/>
                <span class="help-block m-b-none">如：跟进cst_trace</span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">业务地址</label>
            <div class="col-sm-8">
                <input name="url" class="form-control" type="text" placeholder="业务详细地址" value=""/>
                <span class="help-block m-b-none">业务信息详细链接地址，如：crm/SalContact/detail</span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">提前提醒时间</label>
            <div class="col-sm-8">
                <input name="hours" class="form-control" type="text" placeholder="提前提醒时间，单位小时" value="1"/>
                <span class="help-block m-b-none">业务到期的提前提醒时长（小时），默认为提前1小时提醒</span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">提醒总次数</label>
            <div class="col-sm-8">
                <input name="remind_nums" class="form-control" type="text" placeholder="提醒总次数" value="3"/>
                <span class="help-block m-b-none">系统消息，提醒总次数,默认为3</span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">间隔(小时)</label>
            <div class="col-sm-8">
                <input name="remind_interval" class="form-control" type="text" placeholder="间隔(小时)，单位小时" value="1"/>
                <span class="help-block m-b-none">系统消息，每次提醒后的下次间隔时间，默认为提前1小时提醒</span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">手机短信</label>
            <div class="col-sm-8">
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="sms_1" value="1" name="remind_sms" checked>
                    <label for="sms_1"> 启用 </label>
                </div>
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="sms_0" value="0" name="remind_sms">
                    <label for="sms_0"> 禁用 </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">系统提醒</label>
            <div class="col-sm-8">
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="sys_1" value="1" name="remind_sys" checked>
                    <label for="sys_1"> 启用 </label>
                </div>
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="sys_0" value="0" name="remind_sys">
                    <label for="sys_0"> 禁用 </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">邮件提醒</label>
            <div class="col-sm-8">
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="email_1" value="1" name="remind_email" checked>
                    <label for="email_1"> 启用 </label>
                </div>
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="email_0" value="0" name="remind_email">
                    <label for="email_0"> 禁用 </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">微信提醒</label>
            <div class="col-sm-8">
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="weixin_1" value="1" name="remind_weixin" checked>
                    <label for="weixin_1"> 启用 </label>
                </div>
                <div class="radio radio-info radio-inline">
                    <input type="radio" id="weixin_0" value="0" name="remind_weixin">
                    <label for="weixin_0"> 禁用 </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
                {include file="layout/save_btn"}
            </div>
        </div>
    </form>
</div>
</div>